<?php


namespace app\controllers;


use app\service\SysMenuService;

class MenuTreeController extends BaseJsonController
{
    public function doService($req, $userInfo)
    {
        $list = [];
        $service = new SysMenuService();
        $list["menuList"] =$service->menuList();
        return $list;
    }

}